package com.example.mybatisdemo1.dao;

import com.example.mybatisdemo1.entity.UserPojo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: xiaoqiang
 * @Description:
 * @Date: 2020/8/25
 * @Version: 1.0
 */
@Repository
@Mapper
public interface TestDao {

    int addUser(UserPojo userPojo);

    List<UserPojo> getUserList(int id);

}
